Dreitier\Nadi\Vendor\Twig\Extension\SandboxExtension S

Total Complexity 33
Dependencies 9
Dependents 2
Total lines 144
Lines of code 96
Logical lines of code 52
Comment lines 0
Methods 15
Properties 4

Methods 15

Method Rating Maintainability Complexity Lines of code
ensureToStringAllowedForArray()
S
56 6 18
ensureToStringAllowed()
S
58 5 16
checkPropertyAllowed()
S
63 3 11
checkMethodAllowed()
S
63 3 11
isSandboxed()
S
78 3 3
isSourceSandboxed()
S
70 3 6
checkSecurity()
S
73 2 5
__construct()
S
74 1 5
getTokenParsers()
S
80 1 3
getNodeVisitors()
S
80 1 3
enableSandbox()
S
81 1 3
disableSandbox()
S
81 1 3
isSandboxedGlobally()
S
82 1 3
setSecurityPolicy()
S
81 1 3
getSecurityPolicy()
S
82 1 3